import request from '@/utils/request.js'
// 招聘岗位分页列表
export function selectPostInfoList(data) {
	return request.get('/open/company/selectPostInfoList', {params: data});
}
// 找企业公司信息
export function getUsertConpanyInfoList(data) {
	return request.get('/open/consumer/info/getUsertConpanyInfoList', {params: data});
}

// 公司信息详情
export function selectUsertConpanyInfoGetOne(data) {
	return request.get('/open/consumer/info/selectUsertConpanyInfoGetOne', {params: data});
}

// 收藏公司/取消收藏
export function usertConpanyCollect(data) {
	return request.get('/open/consumer/info/usertConpanyCollect', {params: data});
}

// 个人中心接口(我的投递数量  关注岗位数量  收藏公司数量)
export function getUserConsumerInfo(data) {
	return request.get('/open/consumer/info/getUserConsumerInfo', {params: data});
}

// 收藏公司分页列表信息
export function selectUserConsumerCollect(data) {
	return request.get('/open/consumer/info/selectUserConsumerCollect', {params: data});
}

// 首页岗位推荐
export function selectUserInfoPostListPage(data) {
	return request.get('/open/consumer/info/selectUserInfoPostListPage', {params: data});
}

// 职位详情接口
export function selectPostByCompanyInfoAll(data) {
	return request.get('/open/consumer/info/selectPostByCompanyInfoAll', {params: data});
}

// 关注岗位/取关岗位
export function UpUserPostFollow(data) {
	return request.get('/open/consumer/info/UpUserPostFollow', {params: data});
}

// 简历保存
export function inertUserInfo(data) {
	return request.post('/open/consumer/info/inertUserInfo', data);
}

// 简历保存草稿
export function inertUserInfoCG(data) {
	return request.post('/open/consumer/info/inertUserInfoCG', data);
}

// 在线简历接口
export function getUserInfoShNull(data) {
	return request.get('/open/consumer/info/getUserInfoShNull');
}

// 简历投递
export function insertComUserPostInfo(data) {
	return request.get('/open/consumer/info/insertComUserPostInfo', {params: data});
}

// 我的投递
export function myUserPostInfoListByNotRefuse(data) {
	return request.get('/open/consumer/info/myUserPostInfoListByNotRefuse', {params: data});
}

// 关注岗位
export function selectUserPostFollowListAll(data) {
	return request.get('/open/consumer/info/selectUserPostFollowListAll', {params: data});
}

// 岗位列表
export function selectUserPostAllPage(data) {
	return request.get('/open/consumer/info/selectUserPostAllPage', {params: data});
}

// 助残信息提交
export function inertHelpDisabled(data) {
	return request.post('/open/consumer/info/inertHelpDisabled', data);
}

// 查询线上课件类型
export function getCourseWareTypeList(data) {
	return request.get('/open/train/getCourseWareTypeList');
}

// 查询线上课件列表
export function getCourseWareList(data) {
	return request.get('/open/train/getCourseWareList', {params: data});
}

// 查线上课件详情
export function getCourseWareInfo(data) {
	return request.get('/open/train/getCourseWareInfo', {params: data});
}

// 查询培训报名列表
export function getTrainList(data) {
	return request.get('/open/train/getTrainList', {params: data});
}

// 查询培训报名详情
export function getTrainInfo(data) {
	return request.get('/open/train/getTrainInfo', {params: data});
}

// 培训报名申请
export function trainSign(data) {
	return request.post('/open/train/trainSign', data);
}

// 成为用户
export function getUserInfoByUser(data) {
	return request.get('/open/index/getUserInfoByUser', data);
}

// 查询线下招聘会
export function selectRecruitJob(data) {
	return request.get('/open/consumer/info/selectRecruitJob', {params: data});
}

// 招聘会详情
export function selectRecruitJobInfo(data) {
	return request.get('/open/consumer/info/selectRecruitJobInfo', {params: data});
}

// 招聘会详情公司信息
export function selectRecruitJobConpanyList(data) {
	return request.get('/open/consumer/info/selectRecruitJobConpanyList', {params: data});
}

// 招聘会详情岗位信息
export function selectUserPostConpanyListAll(data) {
	return request.get('/open/consumer/info/selectUserPostConpanyListAll', {params: data});
}

// 用户提交报名接口
export function upUserRecruitJobUser(data) {
	return request.post('/open/consumer/info/upUserRecruitJobUser', data);
}

// 我的招聘会
export function myRecruitJob(data) {
	return request.get('/open/consumer/info/myRecruitJob', {params: data});
}

// 职业培训登记课题数据
export function selectComTopicAnSwer(data) {
	return request.get('/open/consumer/info/selectComTopicAnSwer', {params: data});
}

// 用户题目提交
export function upUserComTopic(data) {
	return request.post('/open/consumer/info/upUserComTopic', data);
}

// 获取当前用户的消息通知
export function indexUserMessageNum(data) {
	return request.get('/open/consumer/info/indexUserMessageNum', data);
}

// 查询当前消息详情
export function selectUserMessageInfo(data) {
	return request.get('/open/consumer/info/selectUserMessageInfo', {params: data});
}

// 消息列表 用户同意拒绝公司查看电话申请
export function userMessageUpdateInfo(data) {
	return request.get('/open/consumer/info/userMessageUpdateInfo', {params: data});
}



























